package top.guxx.springframework.beans.factory.support;

import top.guxx.springframework.beans.BeansException;
import top.guxx.springframework.core.io.Resource;
import top.guxx.springframework.core.io.ResourceLoader;

/**
 * @Author：Guxx
 * @Description：
 * @Date：2024/6/9 21:40
 * @Filename：BeanDefinitionReader
 */
public interface BeanDefinitionReader {
    BeanDefinitionRegistry  getRegistry();
    ResourceLoader getResourceLoader();
    void loadBeanDefinitions(Resource resource) throws BeansException;
    void loadBeanDefinitions(Resource... resources) throws BeansException;
    void loadBeanDefinitions(String location) throws BeansException;
}
